package com.shao.onlinepdf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 样式表
 * </p>
 *
 * @author admin
 * @since 2021-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TStyle extends Model<TStyle> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "style_id", type = IdType.ASSIGN_ID)
    private Long styleId;

    /** 所属组织id */
    private Long organizeId;

    /** 样式标题 */
    private String title;

    /** 样式内容 */
    private String css;

    /** 备注 */
    private String remarks;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 修改时间 */
    private LocalDateTime updateTime;


    @Override
    protected Serializable pkVal() {
        return this.styleId;
    }

}
